Platform Explorer / Nuxeo Platform 2021.47

Operation Blob.Convert (Convert to given mime-type)

Description

Convert the input file to a file of the given mime-type and return the new file.
Operation id Blob.Convert
Category Conversion
Label Convert to given mime-type
Requires
Since 5.7

Parameters

Name Description Type Required Default value
mimeType string yes  

Signature

Inputs bloblist, blob, document
Outputs bloblist, blob, blob

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.blob.ConvertBlob
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Blob.Convert",
  "label" : "Convert to given mime-type",
  "category" : "Conversion",
  "requires" : null,
  "description" : "Convert the input file to a file of the given mime-type and return the new file.",
  "since" : "5.7",
  "url" : "Blob.Convert",
  "signature" : [ "bloblist", "bloblist", "blob", "blob", "document", "blob" ],
  "params" : [ {
    "name" : "mimeType",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}